package com.aliyun;

public class TextCheckResult {

    private boolean pass; // 验证是否通过
    private String filteredContent;// 过滤字符

    public TextCheckResult(boolean result){
        this.pass = result;
    }

    public TextCheckResult(boolean result, String filteredContent){
        this.pass = result;
        this.filteredContent = filteredContent;
    }

    public boolean isPass() {
        return pass;
    }

    public String getFilteredContent() {
        return filteredContent;
    }

}
